package com.android.place360.geocoding;

import android.content.Context;
import android.view.LayoutInflater;
import android.widget.*;
import com.android.place360.R;
public class CustomListLocation extends LinearLayout {


	
	private TextView location;
	
	
	public CustomListLocation(Context context) {
		super(context);

		//Sử dụng LayoutInflater để gán giao diện trong list.xml cho class này
		LayoutInflater li = (LayoutInflater)this.getContext().getSystemService(Context.LAYOUT_INFLATER_SERVICE);
		li.inflate(R.layout.custom_list_find_location, this,true);
		
		//Lấy các view qua id
				
		setLocation((TextView)findViewById(R.id.find_location_text));
		
		
		
	}

	public void setLocation(TextView location) {
		this.location = location;
	}


	public TextView getLocation() {
		return location;
	}
	

}
